package com.mark.springbootredis.service;

import com.mark.springbootredis.entity.Admin;
import com.mark.springbootredis.request.LoginRequest;

import java.util.List;

/**
 * @Author: MARK
 * @Date: 2019/8/20 08:10
 * @Version: 1.0.0
 * @Description:
 */
public interface AdminService {
    List<Admin> findAll();

    boolean login(LoginRequest loginRequest);

    boolean getByUsername(String username);
}
